package com.sinsz.common.bolt;

/**
 * 服务暴露实例
 * @author chenjianbo
 */
public class ProviderBean<T> {

    private Class<T> clz;

    private T ref;

    public ProviderBean(Class<T> clz, T ref) {
        this.clz = clz;
        this.ref = ref;
    }

    public Class<T> getClz() {
        return clz;
    }

    public void setClz(Class<T> clz) {
        this.clz = clz;
    }

    public T getRef() {
        return ref;
    }

    public void setRef(T ref) {
        this.ref = ref;
    }
}
